package com.tutorialspoint;


public class TreeListener {
	public static void main(String[] args) {
		String a = new String("aaaa");
		String a1 = "aaaa";
		StringBuilder sbr = new StringBuilder("aaaa");
		System.out.println(a.equals(sbr));
		System.out.println(a1.equals(sbr));
		System.out.println(a1.equals(a));
		System.out.println(a.equals(a1));
	}

}